package base.operator;

public class Arithmetic {
    public static void main(String[] args) {
        int a = 4, b = 3;
        System.out.println("a = " + a + ",b = " + b);
        System.out.println("a+b = " + (a + b));
        System.out.println("a-b = " + (a - b));
        System.out.println("a*b = " + (a * b));
        System.out.println("a/b = " + (a / b) + ",a%b = " + (a % b));
        float af = a, bf = b;
        System.out.println("[float] a/b = " + (af / bf));
        System.out.println("a = " + a + ",a-- = " + (a--) + ",a++ = " + (a++) + ",++a = " + (++a) + ",--a = " + (--a)
                + ",a = " + a);
    }
}
